QUERY.FIND_NEXT Function

Syntax

as P = .Find_Next(Key_Ptr as P )

Arguments

Key_Ptr

A pointer to an existing index entry.

Description

Repeats Find_by_Form, finding the next record.

Discussion

The .FIND_NEXT() method finds and returns the key after the specified key.

Example

dim tbl as P
dim qry as P
dim ptr as P
tbl = table.open("test")
query.filter = "ID <> ''"
query.options = ""
qry = tbl.query_create()
ptr = qry.find_first()
? qry.find_next(ptr)
= Key = "11111-02"
Record = 2

See Also